package com.iplant.wms.serviceImpl.dao.mfs;

import com.iplant.base.po.OutResult;
import com.iplant.base.po.Pagination;
import com.iplant.base.utils.annotation.dao.DBBaseDAO;
import com.iplant.base.utils.sql.BaseDAO;
import com.iplant.basic.service.po.bms.BMSEmployee;
import com.iplant.wms.service.po.mfs.WMSStoreStation;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.*;

@DBBaseDAO(WMSStoreStation.class)
public class WMSStoreStationDAO extends BaseDAO {

    private static WMSStoreStationDAO Instance = null;
    private static Logger logger = LoggerFactory.getLogger(WMSStoreStationDAO.class);

    private WMSStoreStationDAO() {
        super("");

    }

    public static WMSStoreStationDAO getInstance() {
        if (Instance == null) {
            Instance = new WMSStoreStationDAO();
            Instance.Init();
        }
        return Instance;
    }


    public List<WMSStoreStation> WMS_SelectStoreStationList(BMSEmployee wLoginUser, int wStoreID, Pagination wPagination, OutResult<Integer> wErrorCode) {

        Map<String, Object> wParams = new HashMap<>();

        wParams.put("StoreID", wStoreID);

        return SelectPOList(wLoginUser, wParams, wPagination, wErrorCode);
    }


}
